package com.oa.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * @author FengMengHuo 
 * 这是个 岗位类 
 * 岗位类 多<-->多 用户类
 * 岗位类 多<-->多 权限类
 */
public class Post {

	private String unique_id; // 岗位ID
	private String post_name; // 岗位名称
	private String post_description; // 岗位描述
	private Set<User> userSet = new HashSet<User>();// 用户类 集合
	private Set<Power> powerSet = new HashSet<Power>(); // 权限集合
	
	
	public Post() {
	}

	// 带参的构造方法
	public Post(String post_name, String post_description) {
		super();
		this.post_name = post_name;
		this.post_description = post_description;
	}



	// ==================get(),set()方法============
	public String getUnique_id() {
		return unique_id;
	}
	public void setUnique_id(String unique_id) {
		this.unique_id = unique_id;
	}
	public String getPost_name() {
		return post_name;
	}
	public void setPost_name(String post_name) {
		this.post_name = post_name;
	}
	public String getPost_description() {
		return post_description;
	}
	public void setPost_description(String post_description) {
		this.post_description = post_description;
	}
	public Set<User> getUserSet() {
		return userSet;
	}
	public void setUserSet(Set<User> userSet) {
		this.userSet = userSet;
	}
	public Set<Power> getPowerSet() {
		return powerSet;
	}
	public void setPowerSet(Set<Power> powerSet) {
		this.powerSet = powerSet;
	}
	
}
